package com.campsys.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.campsys.entity.Class;
import com.campsys.mapper.ClassMapper;
import com.campsys.service.ClassService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class ClassServiceImpl extends ServiceImpl<ClassMapper, Class> implements ClassService {
    @Resource
    private ClassMapper classMapper;

    @Override
    public List<Class> getClasses() {
        return classMapper.getClasses();
    }
}
